<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title>SFML - Simple and Fast Multimedia Library</title>
        <meta http-equiv="Content-Type" content="text/html;"/>
        <meta charset="utf-8"/>
        <!--<link rel='stylesheet' type='text/css' href="https://fonts.googleapis.com/css?family=Ubuntu:400,700,400italic"/>-->
        <link rel="stylesheet" type="text/css" href="doxygen.css" title="default" media="screen,print" />
        <script type="text/javascript" src="jquery.js"></script>
        <script type="text/javascript" src="dynsections.js"></script>
        <link rel="stylesheet" type="text/css" href="search/search.css" />
        <link rel="stylesheet" type="text/css" href="searchOverrides.css" />
        <script type="text/javascript" src="search/searchdata.js"></script>
        <script type="text/javascript" src="search/search.js"></script>
        <script type="text/javascript">
        /* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
          $(document).ready(function() { init_search(); });
        /* @license-end */
        </script>
    </head>
    <body>
        <div id="banner-container">
            <div id="banner">
                <span id="sfml">SFML 2.6.1</span>
            </div>
        </div>
        <div id="content">
<!-- Generated by Doxygen 1.9.7 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <span id="MSearchSelect"                onmouseover="return searchBox.OnSearchSelectShow()"                onmouseout="return searchBox.OnSearchSelectHide()">&#160;</span>
          <input type="text" id="MSearchField" value="" placeholder="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.svg" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_c0a853e81d6f1c1f0a3eb7a27dc24256.html">SFML</a></li><li class="navelem"><a class="el" href="dir_e71ec51a9abd604c65f6abb639f6ea75.html">Graphics</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle"><div class="title">Shader.hpp</div></div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span> </div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno">    2</span><span class="comment">//</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno">    3</span><span class="comment">// SFML - Simple and Fast Multimedia Library</span></div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno">    4</span><span class="comment">// Copyright (C) 2007-2023 Laurent Gomila (laurent@sfml-dev.org)</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno">    5</span><span class="comment">//</span></div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno">    6</span><span class="comment">// This software is provided &#39;as-is&#39;, without any express or implied warranty.</span></div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno">    7</span><span class="comment">// In no event will the authors be held liable for any damages arising from the use of this software.</span></div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno">    8</span><span class="comment">//</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno">    9</span><span class="comment">// Permission is granted to anyone to use this software for any purpose,</span></div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno">   10</span><span class="comment">// including commercial applications, and to alter it and redistribute it freely,</span></div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno">   11</span><span class="comment">// subject to the following restrictions:</span></div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno">   12</span><span class="comment">//</span></div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno">   13</span><span class="comment">// 1. The origin of this software must not be misrepresented;</span></div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno">   14</span><span class="comment">//    you must not claim that you wrote the original software.</span></div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno">   15</span><span class="comment">//    If you use this software in a product, an acknowledgment</span></div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno">   16</span><span class="comment">//    in the product documentation would be appreciated but is not required.</span></div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno">   17</span><span class="comment">//</span></div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno">   18</span><span class="comment">// 2. Altered source versions must be plainly marked as such,</span></div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno">   19</span><span class="comment">//    and must not be misrepresented as being the original software.</span></div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno">   20</span><span class="comment">//</span></div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno">   21</span><span class="comment">// 3. This notice may not be removed or altered from any source distribution.</span></div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno">   22</span><span class="comment">//</span></div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno">   24</span><span class="comment"></span> </div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno">   25</span><span class="preprocessor">#ifndef SFML_SHADER_HPP</span></div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno">   26</span><span class="preprocessor">#define SFML_SHADER_HPP</span></div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno">   27</span> </div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno">   29</span><span class="comment">// Headers</span></div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno">   31</span><span class="comment"></span><span class="preprocessor">#include &lt;SFML/Graphics/Export.hpp&gt;</span></div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno">   32</span><span class="preprocessor">#include &lt;SFML/Graphics/Glsl.hpp&gt;</span></div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno">   33</span><span class="preprocessor">#include &lt;SFML/Window/GlResource.hpp&gt;</span></div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno">   34</span><span class="preprocessor">#include &lt;SFML/System/NonCopyable.hpp&gt;</span></div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno">   35</span><span class="preprocessor">#include &lt;SFML/System/Vector2.hpp&gt;</span></div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno">   36</span><span class="preprocessor">#include &lt;SFML/System/Vector3.hpp&gt;</span></div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno">   37</span><span class="preprocessor">#include &lt;map&gt;</span></div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno">   38</span><span class="preprocessor">#include &lt;string&gt;</span></div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno">   39</span> </div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno">   40</span> </div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno">   41</span><span class="keyword">namespace </span>sf</div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno">   42</span>{</div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno">   43</span><span class="keyword">class </span>Color;</div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno">   44</span><span class="keyword">class </span>InputStream;</div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno">   45</span><span class="keyword">class </span>Texture;</div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno">   46</span><span class="keyword">class </span>Transform;</div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno">   47</span> </div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"><a class="line" href="classsf_1_1Shader.html">   52</a></span><span class="keyword">class </span>SFML_GRAPHICS_API <a class="code hl_class" href="classsf_1_1Shader.html">Shader</a> : <a class="code hl_class" href="classsf_1_1GlResource.html">GlResource</a>, <a class="code hl_class" href="classsf_1_1NonCopyable.html">NonCopyable</a></div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno">   53</span>{</div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno">   54</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno">   55</span> </div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"><a class="line" href="classsf_1_1Shader.html#afaa1aa65e5de37b74d047da9def9f9b3">   60</a></span>    <span class="keyword">enum</span> <a class="code hl_enumeration" href="classsf_1_1Shader.html#afaa1aa65e5de37b74d047da9def9f9b3">Type</a></div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno">   61</span>    {</div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"><a class="line" href="classsf_1_1Shader.html#afaa1aa65e5de37b74d047da9def9f9b3a8718008f827eb32e29bbdd1791c62dce">   62</a></span>        <a class="code hl_enumvalue" href="classsf_1_1Shader.html#afaa1aa65e5de37b74d047da9def9f9b3a8718008f827eb32e29bbdd1791c62dce">Vertex</a>,   </div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"><a class="line" href="classsf_1_1Shader.html#afaa1aa65e5de37b74d047da9def9f9b3a812421100fd57456727375938fb62788">   63</a></span>        <a class="code hl_enumvalue" href="classsf_1_1Shader.html#afaa1aa65e5de37b74d047da9def9f9b3a812421100fd57456727375938fb62788">Geometry</a>, </div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno">   64</span>        Fragment  </div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"><a class="line" href="classsf_1_1Shader.html#afaa1aa65e5de37b74d047da9def9f9b3ace6e88eec3a56b2e55ee3c8e64e9b89a">   65</a></span>    };</div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno">   66</span> </div>
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"><a class="line" href="structsf_1_1Shader_1_1CurrentTextureType.html">   74</a></span>    <span class="keyword">struct </span><a class="code hl_struct" href="structsf_1_1Shader_1_1CurrentTextureType.html">CurrentTextureType</a> {};</div>
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno">   75</span> </div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"><a class="line" href="classsf_1_1Shader.html#ac84c7953eec2e19358ea6e2cc5385b8d">   82</a></span>    <span class="keyword">static</span> <a class="code hl_struct" href="structsf_1_1Shader_1_1CurrentTextureType.html">CurrentTextureType</a> <a class="code hl_variable" href="classsf_1_1Shader.html#ac84c7953eec2e19358ea6e2cc5385b8d">CurrentTexture</a>;</div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno">   83</span> </div>
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno">   84</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno">   85</span> </div>
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"><a class="line" href="classsf_1_1Shader.html#a1d7f28f26b4122959fcafec871c2c3c5">   92</a></span>    <a class="code hl_function" href="classsf_1_1Shader.html#a1d7f28f26b4122959fcafec871c2c3c5">Shader</a>();</div>
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno">   93</span> </div>
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"><a class="line" href="classsf_1_1Shader.html#a4bac6cc8b046ecd8fb967c145a2380e6">   98</a></span>    <a class="code hl_function" href="classsf_1_1Shader.html#a4bac6cc8b046ecd8fb967c145a2380e6">~Shader</a>();</div>
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno">   99</span> </div>
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno"><a class="line" href="classsf_1_1Shader.html#a053a5632848ebaca2fcd8ba29abe9e6e">  119</a></span>    <span class="keywordtype">bool</span> <a class="code hl_function" href="classsf_1_1Shader.html#a053a5632848ebaca2fcd8ba29abe9e6e">loadFromFile</a>(<span class="keyword">const</span> std::string&amp; filename, <a class="code hl_enumeration" href="classsf_1_1Shader.html#afaa1aa65e5de37b74d047da9def9f9b3">Type</a> type);</div>
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno">  120</span> </div>
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno"><a class="line" href="classsf_1_1Shader.html#ac9d7289966fcef562eeb92271c03e3dc">  140</a></span>    <span class="keywordtype">bool</span> <a class="code hl_function" href="classsf_1_1Shader.html#ac9d7289966fcef562eeb92271c03e3dc">loadFromFile</a>(<span class="keyword">const</span> std::string&amp; vertexShaderFilename, <span class="keyword">const</span> std::string&amp; fragmentShaderFilename);</div>
<div class="line"><a id="l00141" name="l00141"></a><span class="lineno">  141</span> </div>
<div class="line"><a id="l00162" name="l00162"></a><span class="lineno"><a class="line" href="classsf_1_1Shader.html#a295d8468811ca15bf9c5401a7a7d4f54">  162</a></span>    <span class="keywordtype">bool</span> <a class="code hl_function" href="classsf_1_1Shader.html#a295d8468811ca15bf9c5401a7a7d4f54">loadFromFile</a>(<span class="keyword">const</span> std::string&amp; vertexShaderFilename, <span class="keyword">const</span> std::string&amp; geometryShaderFilename, <span class="keyword">const</span> std::string&amp; fragmentShaderFilename);</div>
<div class="line"><a id="l00163" name="l00163"></a><span class="lineno">  163</span> </div>
<div class="line"><a id="l00182" name="l00182"></a><span class="lineno"><a class="line" href="classsf_1_1Shader.html#ac92d46bf71dff2d791117e4e472148aa">  182</a></span>    <span class="keywordtype">bool</span> <a class="code hl_function" href="classsf_1_1Shader.html#ac92d46bf71dff2d791117e4e472148aa">loadFromMemory</a>(<span class="keyword">const</span> std::string&amp; shader, <a class="code hl_enumeration" href="classsf_1_1Shader.html#afaa1aa65e5de37b74d047da9def9f9b3">Type</a> type);</div>
<div class="line"><a id="l00183" name="l00183"></a><span class="lineno">  183</span> </div>
<div class="line"><a id="l00203" name="l00203"></a><span class="lineno"><a class="line" href="classsf_1_1Shader.html#ae34e94070d7547a890166b7993658a9b">  203</a></span>    <span class="keywordtype">bool</span> <a class="code hl_function" href="classsf_1_1Shader.html#ae34e94070d7547a890166b7993658a9b">loadFromMemory</a>(<span class="keyword">const</span> std::string&amp; vertexShader, <span class="keyword">const</span> std::string&amp; fragmentShader);</div>
<div class="line"><a id="l00204" name="l00204"></a><span class="lineno">  204</span> </div>
<div class="line"><a id="l00225" name="l00225"></a><span class="lineno"><a class="line" href="classsf_1_1Shader.html#ab8c8b715b02aba2cf7c0a0e0c0984250">  225</a></span>    <span class="keywordtype">bool</span> <a class="code hl_function" href="classsf_1_1Shader.html#ab8c8b715b02aba2cf7c0a0e0c0984250">loadFromMemory</a>(<span class="keyword">const</span> std::string&amp; vertexShader, <span class="keyword">const</span> std::string&amp; geometryShader, <span class="keyword">const</span> std::string&amp; fragmentShader);</div>
<div class="line"><a id="l00226" name="l00226"></a><span class="lineno">  226</span> </div>
<div class="line"><a id="l00245" name="l00245"></a><span class="lineno"><a class="line" href="classsf_1_1Shader.html#a2ee1b130c0606e4f8bcdf65c1efc2a53">  245</a></span>    <span class="keywordtype">bool</span> <a class="code hl_function" href="classsf_1_1Shader.html#a2ee1b130c0606e4f8bcdf65c1efc2a53">loadFromStream</a>(<a class="code hl_class" href="classsf_1_1InputStream.html">InputStream</a>&amp; stream, <a class="code hl_enumeration" href="classsf_1_1Shader.html#afaa1aa65e5de37b74d047da9def9f9b3">Type</a> type);</div>
<div class="line"><a id="l00246" name="l00246"></a><span class="lineno">  246</span> </div>
<div class="line"><a id="l00266" name="l00266"></a><span class="lineno"><a class="line" href="classsf_1_1Shader.html#a3b7958159ffb5596c4babc3052e35465">  266</a></span>    <span class="keywordtype">bool</span> <a class="code hl_function" href="classsf_1_1Shader.html#a3b7958159ffb5596c4babc3052e35465">loadFromStream</a>(<a class="code hl_class" href="classsf_1_1InputStream.html">InputStream</a>&amp; vertexShaderStream, <a class="code hl_class" href="classsf_1_1InputStream.html">InputStream</a>&amp; fragmentShaderStream);</div>
<div class="line"><a id="l00267" name="l00267"></a><span class="lineno">  267</span> </div>
<div class="line"><a id="l00288" name="l00288"></a><span class="lineno"><a class="line" href="classsf_1_1Shader.html#aa08f1c091806205e6654db9d83197fcd">  288</a></span>    <span class="keywordtype">bool</span> <a class="code hl_function" href="classsf_1_1Shader.html#aa08f1c091806205e6654db9d83197fcd">loadFromStream</a>(<a class="code hl_class" href="classsf_1_1InputStream.html">InputStream</a>&amp; vertexShaderStream, <a class="code hl_class" href="classsf_1_1InputStream.html">InputStream</a>&amp; geometryShaderStream, <a class="code hl_class" href="classsf_1_1InputStream.html">InputStream</a>&amp; fragmentShaderStream);</div>
<div class="line"><a id="l00289" name="l00289"></a><span class="lineno">  289</span> </div>
<div class="line"><a id="l00297" name="l00297"></a><span class="lineno"><a class="line" href="classsf_1_1Shader.html#abf78e3bea1e9b0bab850b6b0a0de29c7">  297</a></span>    <span class="keywordtype">void</span> <a class="code hl_function" href="classsf_1_1Shader.html#abf78e3bea1e9b0bab850b6b0a0de29c7">setUniform</a>(<span class="keyword">const</span> std::string&amp; name, <span class="keywordtype">float</span> x);</div>
<div class="line"><a id="l00298" name="l00298"></a><span class="lineno">  298</span> </div>
<div class="line"><a id="l00306" name="l00306"></a><span class="lineno"><a class="line" href="classsf_1_1Shader.html#a4a2c673c41e37b17d67e4af1298b679f">  306</a></span>    <span class="keywordtype">void</span> <a class="code hl_function" href="classsf_1_1Shader.html#a4a2c673c41e37b17d67e4af1298b679f">setUniform</a>(<span class="keyword">const</span> std::string&amp; name, <span class="keyword">const</span> <a class="code hl_class" href="classsf_1_1Vector2.html">Glsl::Vec2</a>&amp; vector);</div>
<div class="line"><a id="l00307" name="l00307"></a><span class="lineno">  307</span> </div>
<div class="line"><a id="l00315" name="l00315"></a><span class="lineno"><a class="line" href="classsf_1_1Shader.html#aad654ad8de6f0c56191fa7b8cea21db2">  315</a></span>    <span class="keywordtype">void</span> <a class="code hl_function" href="classsf_1_1Shader.html#aad654ad8de6f0c56191fa7b8cea21db2">setUniform</a>(<span class="keyword">const</span> std::string&amp; name, <span class="keyword">const</span> <a class="code hl_class" href="classsf_1_1Vector3.html">Glsl::Vec3</a>&amp; vector);</div>
<div class="line"><a id="l00316" name="l00316"></a><span class="lineno">  316</span> </div>
<div class="line"><a id="l00333" name="l00333"></a><span class="lineno"><a class="line" href="classsf_1_1Shader.html#abc1aee8343800680fd62e1f3d43c24bf">  333</a></span>    <span class="keywordtype">void</span> <a class="code hl_function" href="classsf_1_1Shader.html#abc1aee8343800680fd62e1f3d43c24bf">setUniform</a>(<span class="keyword">const</span> std::string&amp; name, <span class="keyword">const</span> <a class="code hl_typedef" href="namespacesf_1_1Glsl.html#a7c67253548c58adb77cb14f847f18f83">Glsl::Vec4</a>&amp; vector);</div>
<div class="line"><a id="l00334" name="l00334"></a><span class="lineno">  334</span> </div>
<div class="line"><a id="l00342" name="l00342"></a><span class="lineno"><a class="line" href="classsf_1_1Shader.html#ae4fc8b4c18e6b653952bce5c8c81e4a0">  342</a></span>    <span class="keywordtype">void</span> <a class="code hl_function" href="classsf_1_1Shader.html#ae4fc8b4c18e6b653952bce5c8c81e4a0">setUniform</a>(<span class="keyword">const</span> std::string&amp; name, <span class="keywordtype">int</span> x);</div>
<div class="line"><a id="l00343" name="l00343"></a><span class="lineno">  343</span> </div>
<div class="line"><a id="l00351" name="l00351"></a><span class="lineno"><a class="line" href="classsf_1_1Shader.html#a2ccb5bae59cedc7d6a9b533c97f7d1ed">  351</a></span>    <span class="keywordtype">void</span> <a class="code hl_function" href="classsf_1_1Shader.html#a2ccb5bae59cedc7d6a9b533c97f7d1ed">setUniform</a>(<span class="keyword">const</span> std::string&amp; name, <span class="keyword">const</span> <a class="code hl_class" href="classsf_1_1Vector2.html">Glsl::Ivec2</a>&amp; vector);</div>
<div class="line"><a id="l00352" name="l00352"></a><span class="lineno">  352</span> </div>
<div class="line"><a id="l00360" name="l00360"></a><span class="lineno"><a class="line" href="classsf_1_1Shader.html#a9e328e3e97cd753fdc7b842f4b0f202e">  360</a></span>    <span class="keywordtype">void</span> <a class="code hl_function" href="classsf_1_1Shader.html#a9e328e3e97cd753fdc7b842f4b0f202e">setUniform</a>(<span class="keyword">const</span> std::string&amp; name, <span class="keyword">const</span> <a class="code hl_class" href="classsf_1_1Vector3.html">Glsl::Ivec3</a>&amp; vector);</div>
<div class="line"><a id="l00361" name="l00361"></a><span class="lineno">  361</span> </div>
<div class="line"><a id="l00377" name="l00377"></a><span class="lineno"><a class="line" href="classsf_1_1Shader.html#a380e7a5a2896162c5fd08966c4523790">  377</a></span>    <span class="keywordtype">void</span> <a class="code hl_function" href="classsf_1_1Shader.html#a380e7a5a2896162c5fd08966c4523790">setUniform</a>(<span class="keyword">const</span> std::string&amp; name, <span class="keyword">const</span> <a class="code hl_typedef" href="namespacesf_1_1Glsl.html#a778682c4f085d2daeb90c724791f3f68">Glsl::Ivec4</a>&amp; vector);</div>
<div class="line"><a id="l00378" name="l00378"></a><span class="lineno">  378</span> </div>
<div class="line"><a id="l00386" name="l00386"></a><span class="lineno"><a class="line" href="classsf_1_1Shader.html#af417027ac72c06e6cfbf30975cd678e9">  386</a></span>    <span class="keywordtype">void</span> <a class="code hl_function" href="classsf_1_1Shader.html#af417027ac72c06e6cfbf30975cd678e9">setUniform</a>(<span class="keyword">const</span> std::string&amp; name, <span class="keywordtype">bool</span> x);</div>
<div class="line"><a id="l00387" name="l00387"></a><span class="lineno">  387</span> </div>
<div class="line"><a id="l00395" name="l00395"></a><span class="lineno"><a class="line" href="classsf_1_1Shader.html#ab2518b8dd0762e682b452a5d5005f2bf">  395</a></span>    <span class="keywordtype">void</span> <a class="code hl_function" href="classsf_1_1Shader.html#ab2518b8dd0762e682b452a5d5005f2bf">setUniform</a>(<span class="keyword">const</span> std::string&amp; name, <span class="keyword">const</span> <a class="code hl_class" href="classsf_1_1Vector2.html">Glsl::Bvec2</a>&amp; vector);</div>
<div class="line"><a id="l00396" name="l00396"></a><span class="lineno">  396</span> </div>
<div class="line"><a id="l00404" name="l00404"></a><span class="lineno"><a class="line" href="classsf_1_1Shader.html#ab06830875c82476fbb9c975cdeb78a11">  404</a></span>    <span class="keywordtype">void</span> <a class="code hl_function" href="classsf_1_1Shader.html#ab06830875c82476fbb9c975cdeb78a11">setUniform</a>(<span class="keyword">const</span> std::string&amp; name, <span class="keyword">const</span> <a class="code hl_class" href="classsf_1_1Vector3.html">Glsl::Bvec3</a>&amp; vector);</div>
<div class="line"><a id="l00405" name="l00405"></a><span class="lineno">  405</span> </div>
<div class="line"><a id="l00413" name="l00413"></a><span class="lineno"><a class="line" href="classsf_1_1Shader.html#ac8db3e0adf1129abf24f0a51a7ec36f4">  413</a></span>    <span class="keywordtype">void</span> <a class="code hl_function" href="classsf_1_1Shader.html#ac8db3e0adf1129abf24f0a51a7ec36f4">setUniform</a>(<span class="keyword">const</span> std::string&amp; name, <span class="keyword">const</span> <a class="code hl_typedef" href="namespacesf_1_1Glsl.html#a8b1f0ac369666c48a9eafc9d3f5618e6">Glsl::Bvec4</a>&amp; vector);</div>
<div class="line"><a id="l00414" name="l00414"></a><span class="lineno">  414</span> </div>
<div class="line"><a id="l00422" name="l00422"></a><span class="lineno"><a class="line" href="classsf_1_1Shader.html#ac1198ae0152d439bc05781046883e281">  422</a></span>    <span class="keywordtype">void</span> <a class="code hl_function" href="classsf_1_1Shader.html#ac1198ae0152d439bc05781046883e281">setUniform</a>(<span class="keyword">const</span> std::string&amp; name, <span class="keyword">const</span> <a class="code hl_typedef" href="namespacesf_1_1Glsl.html#a9e984ebdc1cebc693a12f01a32b2d28d">Glsl::Mat3</a>&amp; matrix);</div>
<div class="line"><a id="l00423" name="l00423"></a><span class="lineno">  423</span> </div>
<div class="line"><a id="l00431" name="l00431"></a><span class="lineno"><a class="line" href="classsf_1_1Shader.html#aca5c55c4a3b23d21e33dbdaab7990755">  431</a></span>    <span class="keywordtype">void</span> <a class="code hl_function" href="classsf_1_1Shader.html#aca5c55c4a3b23d21e33dbdaab7990755">setUniform</a>(<span class="keyword">const</span> std::string&amp; name, <span class="keyword">const</span> <a class="code hl_typedef" href="namespacesf_1_1Glsl.html#a769de806596348a8e56ed6506c688271">Glsl::Mat4</a>&amp; matrix);</div>
<div class="line"><a id="l00432" name="l00432"></a><span class="lineno">  432</span> </div>
<div class="line"><a id="l00463" name="l00463"></a><span class="lineno"><a class="line" href="classsf_1_1Shader.html#a7806a29ffbd0ee9251256a9e7265d479">  463</a></span>    <span class="keywordtype">void</span> <a class="code hl_function" href="classsf_1_1Shader.html#a7806a29ffbd0ee9251256a9e7265d479">setUniform</a>(<span class="keyword">const</span> std::string&amp; name, <span class="keyword">const</span> <a class="code hl_class" href="classsf_1_1Texture.html">Texture</a>&amp; texture);</div>
<div class="line"><a id="l00464" name="l00464"></a><span class="lineno">  464</span> </div>
<div class="line"><a id="l00486" name="l00486"></a><span class="lineno"><a class="line" href="classsf_1_1Shader.html#ab18f531e1f726b88fec1cf5a1e6af26d">  486</a></span>    <span class="keywordtype">void</span> <a class="code hl_function" href="classsf_1_1Shader.html#ab18f531e1f726b88fec1cf5a1e6af26d">setUniform</a>(<span class="keyword">const</span> std::string&amp; name, <a class="code hl_struct" href="structsf_1_1Shader_1_1CurrentTextureType.html">CurrentTextureType</a>);</div>
<div class="line"><a id="l00487" name="l00487"></a><span class="lineno">  487</span> </div>
<div class="line"><a id="l00496" name="l00496"></a><span class="lineno"><a class="line" href="classsf_1_1Shader.html#a731d3b9953c50fe7d3fb03340b97deff">  496</a></span>    <span class="keywordtype">void</span> <a class="code hl_function" href="classsf_1_1Shader.html#a731d3b9953c50fe7d3fb03340b97deff">setUniformArray</a>(<span class="keyword">const</span> std::string&amp; name, <span class="keyword">const</span> <span class="keywordtype">float</span>* scalarArray, std::size_t length);</div>
<div class="line"><a id="l00497" name="l00497"></a><span class="lineno">  497</span> </div>
<div class="line"><a id="l00506" name="l00506"></a><span class="lineno"><a class="line" href="classsf_1_1Shader.html#ab2e2eab45d9a091f3720c0879a5bb026">  506</a></span>    <span class="keywordtype">void</span> <a class="code hl_function" href="classsf_1_1Shader.html#ab2e2eab45d9a091f3720c0879a5bb026">setUniformArray</a>(<span class="keyword">const</span> std::string&amp; name, <span class="keyword">const</span> <a class="code hl_class" href="classsf_1_1Vector2.html">Glsl::Vec2</a>* vectorArray, std::size_t length);</div>
<div class="line"><a id="l00507" name="l00507"></a><span class="lineno">  507</span> </div>
<div class="line"><a id="l00516" name="l00516"></a><span class="lineno"><a class="line" href="classsf_1_1Shader.html#aeae884292fed977bbea5039818f208e7">  516</a></span>    <span class="keywordtype">void</span> <a class="code hl_function" href="classsf_1_1Shader.html#aeae884292fed977bbea5039818f208e7">setUniformArray</a>(<span class="keyword">const</span> std::string&amp; name, <span class="keyword">const</span> <a class="code hl_class" href="classsf_1_1Vector3.html">Glsl::Vec3</a>* vectorArray, std::size_t length);</div>
<div class="line"><a id="l00517" name="l00517"></a><span class="lineno">  517</span> </div>
<div class="line"><a id="l00526" name="l00526"></a><span class="lineno"><a class="line" href="classsf_1_1Shader.html#aa89ac1ea7918c9b1c2232df59affb7fa">  526</a></span>    <span class="keywordtype">void</span> <a class="code hl_function" href="classsf_1_1Shader.html#aa89ac1ea7918c9b1c2232df59affb7fa">setUniformArray</a>(<span class="keyword">const</span> std::string&amp; name, <span class="keyword">const</span> <a class="code hl_typedef" href="namespacesf_1_1Glsl.html#a7c67253548c58adb77cb14f847f18f83">Glsl::Vec4</a>* vectorArray, std::size_t length);</div>
<div class="line"><a id="l00527" name="l00527"></a><span class="lineno">  527</span> </div>
<div class="line"><a id="l00536" name="l00536"></a><span class="lineno"><a class="line" href="classsf_1_1Shader.html#a69587701d347ba21d506197d0fb9f842">  536</a></span>    <span class="keywordtype">void</span> <a class="code hl_function" href="classsf_1_1Shader.html#a69587701d347ba21d506197d0fb9f842">setUniformArray</a>(<span class="keyword">const</span> std::string&amp; name, <span class="keyword">const</span> <a class="code hl_typedef" href="namespacesf_1_1Glsl.html#a9e984ebdc1cebc693a12f01a32b2d28d">Glsl::Mat3</a>* matrixArray, std::size_t length);</div>
<div class="line"><a id="l00537" name="l00537"></a><span class="lineno">  537</span> </div>
<div class="line"><a id="l00546" name="l00546"></a><span class="lineno"><a class="line" href="classsf_1_1Shader.html#a066b0ba02e1c1bddc9e2571eca1156ab">  546</a></span>    <span class="keywordtype">void</span> <a class="code hl_function" href="classsf_1_1Shader.html#a066b0ba02e1c1bddc9e2571eca1156ab">setUniformArray</a>(<span class="keyword">const</span> std::string&amp; name, <span class="keyword">const</span> <a class="code hl_typedef" href="namespacesf_1_1Glsl.html#a769de806596348a8e56ed6506c688271">Glsl::Mat4</a>* matrixArray, std::size_t length);</div>
<div class="line"><a id="l00547" name="l00547"></a><span class="lineno">  547</span> </div>
<div class="line"><a id="l00554" name="l00554"></a><span class="lineno"><a class="line" href="classsf_1_1Shader.html#a47e4dd78f0752ae08664b4ee616db1cf">  554</a></span>    SFML_DEPRECATED <span class="keywordtype">void</span> <a class="code hl_function" href="classsf_1_1Shader.html#a47e4dd78f0752ae08664b4ee616db1cf">setParameter</a>(<span class="keyword">const</span> std::string&amp; name, <span class="keywordtype">float</span> x);</div>
<div class="line"><a id="l00555" name="l00555"></a><span class="lineno">  555</span> </div>
<div class="line"><a id="l00562" name="l00562"></a><span class="lineno"><a class="line" href="classsf_1_1Shader.html#ab8d379f40810b8e3eadebee81aedd231">  562</a></span>    SFML_DEPRECATED <span class="keywordtype">void</span> <a class="code hl_function" href="classsf_1_1Shader.html#ab8d379f40810b8e3eadebee81aedd231">setParameter</a>(<span class="keyword">const</span> std::string&amp; name, <span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y);</div>
<div class="line"><a id="l00563" name="l00563"></a><span class="lineno">  563</span> </div>
<div class="line"><a id="l00570" name="l00570"></a><span class="lineno"><a class="line" href="classsf_1_1Shader.html#a7e36e044d6b8adca8339f40c5a4b1801">  570</a></span>    SFML_DEPRECATED <span class="keywordtype">void</span> <a class="code hl_function" href="classsf_1_1Shader.html#a7e36e044d6b8adca8339f40c5a4b1801">setParameter</a>(<span class="keyword">const</span> std::string&amp; name, <span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y, <span class="keywordtype">float</span> z);</div>
<div class="line"><a id="l00571" name="l00571"></a><span class="lineno">  571</span> </div>
<div class="line"><a id="l00578" name="l00578"></a><span class="lineno"><a class="line" href="classsf_1_1Shader.html#aeb468f1bc2d26750b96b74f1e19027fb">  578</a></span>    SFML_DEPRECATED <span class="keywordtype">void</span> <a class="code hl_function" href="classsf_1_1Shader.html#aeb468f1bc2d26750b96b74f1e19027fb">setParameter</a>(<span class="keyword">const</span> std::string&amp; name, <span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y, <span class="keywordtype">float</span> z, <span class="keywordtype">float</span> w);</div>
<div class="line"><a id="l00579" name="l00579"></a><span class="lineno">  579</span> </div>
<div class="line"><a id="l00586" name="l00586"></a><span class="lineno"><a class="line" href="classsf_1_1Shader.html#a3ac473ece2c6fa26dc5032c07fd7288e">  586</a></span>    SFML_DEPRECATED <span class="keywordtype">void</span> <a class="code hl_function" href="classsf_1_1Shader.html#a3ac473ece2c6fa26dc5032c07fd7288e">setParameter</a>(<span class="keyword">const</span> std::string&amp; name, <span class="keyword">const</span> <a class="code hl_class" href="classsf_1_1Vector2.html">Vector2f</a>&amp; vector);</div>
<div class="line"><a id="l00587" name="l00587"></a><span class="lineno">  587</span> </div>
<div class="line"><a id="l00594" name="l00594"></a><span class="lineno"><a class="line" href="classsf_1_1Shader.html#a87d4a0c6dc70ae68aecc0dda3f343c07">  594</a></span>    SFML_DEPRECATED <span class="keywordtype">void</span> <a class="code hl_function" href="classsf_1_1Shader.html#a87d4a0c6dc70ae68aecc0dda3f343c07">setParameter</a>(<span class="keyword">const</span> std::string&amp; name, <span class="keyword">const</span> <a class="code hl_class" href="classsf_1_1Vector3.html">Vector3f</a>&amp; vector);</div>
<div class="line"><a id="l00595" name="l00595"></a><span class="lineno">  595</span> </div>
<div class="line"><a id="l00602" name="l00602"></a><span class="lineno"><a class="line" href="classsf_1_1Shader.html#aa8618119ed4399df3fd33e78ee96b4fc">  602</a></span>    SFML_DEPRECATED <span class="keywordtype">void</span> <a class="code hl_function" href="classsf_1_1Shader.html#aa8618119ed4399df3fd33e78ee96b4fc">setParameter</a>(<span class="keyword">const</span> std::string&amp; name, <span class="keyword">const</span> <a class="code hl_class" href="classsf_1_1Color.html">Color</a>&amp; color);</div>
<div class="line"><a id="l00603" name="l00603"></a><span class="lineno">  603</span> </div>
<div class="line"><a id="l00610" name="l00610"></a><span class="lineno"><a class="line" href="classsf_1_1Shader.html#a8599ee1348407025039b89ddf3f7cb62">  610</a></span>    SFML_DEPRECATED <span class="keywordtype">void</span> <a class="code hl_function" href="classsf_1_1Shader.html#a8599ee1348407025039b89ddf3f7cb62">setParameter</a>(<span class="keyword">const</span> std::string&amp; name, <span class="keyword">const</span> <a class="code hl_class" href="classsf_1_1Transform.html">Transform</a>&amp; transform);</div>
<div class="line"><a id="l00611" name="l00611"></a><span class="lineno">  611</span> </div>
<div class="line"><a id="l00618" name="l00618"></a><span class="lineno"><a class="line" href="classsf_1_1Shader.html#a7f58ab5c0a1084f238dfcec86602daa1">  618</a></span>    SFML_DEPRECATED <span class="keywordtype">void</span> <a class="code hl_function" href="classsf_1_1Shader.html#a7f58ab5c0a1084f238dfcec86602daa1">setParameter</a>(<span class="keyword">const</span> std::string&amp; name, <span class="keyword">const</span> <a class="code hl_class" href="classsf_1_1Texture.html">Texture</a>&amp; texture);</div>
<div class="line"><a id="l00619" name="l00619"></a><span class="lineno">  619</span> </div>
<div class="line"><a id="l00626" name="l00626"></a><span class="lineno"><a class="line" href="classsf_1_1Shader.html#af06b4cba0bab915fa01032b063909044">  626</a></span>    SFML_DEPRECATED <span class="keywordtype">void</span> <a class="code hl_function" href="classsf_1_1Shader.html#af06b4cba0bab915fa01032b063909044">setParameter</a>(<span class="keyword">const</span> std::string&amp; name, <a class="code hl_struct" href="structsf_1_1Shader_1_1CurrentTextureType.html">CurrentTextureType</a>);</div>
<div class="line"><a id="l00627" name="l00627"></a><span class="lineno">  627</span> </div>
<div class="line"><a id="l00638" name="l00638"></a><span class="lineno"><a class="line" href="classsf_1_1Shader.html#ac14d0bf7afe7b6bb415d309f9c707188">  638</a></span>    <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code hl_function" href="classsf_1_1Shader.html#ac14d0bf7afe7b6bb415d309f9c707188">getNativeHandle</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00639" name="l00639"></a><span class="lineno">  639</span> </div>
<div class="line"><a id="l00661" name="l00661"></a><span class="lineno"><a class="line" href="classsf_1_1Shader.html#a09778f78afcbeb854d608c8dacd8ea30">  661</a></span>    <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classsf_1_1Shader.html#a09778f78afcbeb854d608c8dacd8ea30">bind</a>(<span class="keyword">const</span> <a class="code hl_class" href="classsf_1_1Shader.html">Shader</a>* shader);</div>
<div class="line"><a id="l00662" name="l00662"></a><span class="lineno">  662</span> </div>
<div class="line"><a id="l00673" name="l00673"></a><span class="lineno"><a class="line" href="classsf_1_1Shader.html#ad22474690bafe4a305c1b9826b1bd86a">  673</a></span>    <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classsf_1_1Shader.html#ad22474690bafe4a305c1b9826b1bd86a">isAvailable</a>();</div>
<div class="line"><a id="l00674" name="l00674"></a><span class="lineno">  674</span> </div>
<div class="line"><a id="l00692" name="l00692"></a><span class="lineno"><a class="line" href="classsf_1_1Shader.html#a45db14baf1bbc688577f81813b1fce96">  692</a></span>    <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classsf_1_1Shader.html#a45db14baf1bbc688577f81813b1fce96">isGeometryAvailable</a>();</div>
<div class="line"><a id="l00693" name="l00693"></a><span class="lineno">  693</span> </div>
<div class="line"><a id="l00694" name="l00694"></a><span class="lineno">  694</span><span class="keyword">private</span>:</div>
<div class="line"><a id="l00695" name="l00695"></a><span class="lineno">  695</span> </div>
<div class="line"><a id="l00709" name="l00709"></a><span class="lineno">  709</span>    <span class="keywordtype">bool</span> compile(<span class="keyword">const</span> <span class="keywordtype">char</span>* vertexShaderCode, <span class="keyword">const</span> <span class="keywordtype">char</span>* geometryShaderCode, <span class="keyword">const</span> <span class="keywordtype">char</span>* fragmentShaderCode);</div>
<div class="line"><a id="l00710" name="l00710"></a><span class="lineno">  710</span> </div>
<div class="line"><a id="l00718" name="l00718"></a><span class="lineno">  718</span>    <span class="keywordtype">void</span> bindTextures() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00719" name="l00719"></a><span class="lineno">  719</span> </div>
<div class="line"><a id="l00728" name="l00728"></a><span class="lineno">  728</span>    <span class="keywordtype">int</span> getUniformLocation(<span class="keyword">const</span> std::string&amp; name);</div>
<div class="line"><a id="l00729" name="l00729"></a><span class="lineno">  729</span> </div>
<div class="line"><a id="l00737" name="l00737"></a><span class="lineno">  737</span>    <span class="keyword">struct </span>UniformBinder;</div>
<div class="line"><a id="l00738" name="l00738"></a><span class="lineno">  738</span> </div>
<div class="line"><a id="l00740" name="l00740"></a><span class="lineno">  740</span>    <span class="comment">// Types</span></div>
<div class="line"><a id="l00742" name="l00742"></a><span class="lineno">  742</span><span class="comment"></span>    <span class="keyword">typedef</span> std::map&lt;int, const Texture*&gt; TextureTable;</div>
<div class="line"><a id="l00743" name="l00743"></a><span class="lineno">  743</span>    <span class="keyword">typedef</span> std::map&lt;std::string, int&gt; UniformTable;</div>
<div class="line"><a id="l00744" name="l00744"></a><span class="lineno">  744</span> </div>
<div class="line"><a id="l00746" name="l00746"></a><span class="lineno">  746</span>    <span class="comment">// Member data</span></div>
<div class="line"><a id="l00748" name="l00748"></a><span class="lineno">  748</span><span class="comment"></span>    <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> m_shaderProgram;  </div>
<div class="line"><a id="l00749" name="l00749"></a><span class="lineno">  749</span>    <span class="keywordtype">int</span>          m_currentTexture; </div>
<div class="line"><a id="l00750" name="l00750"></a><span class="lineno">  750</span>    TextureTable m_textures;       </div>
<div class="line"><a id="l00751" name="l00751"></a><span class="lineno">  751</span>    UniformTable m_uniforms;       </div>
<div class="line"><a id="l00752" name="l00752"></a><span class="lineno">  752</span>};</div>
<div class="line"><a id="l00753" name="l00753"></a><span class="lineno">  753</span> </div>
<div class="line"><a id="l00754" name="l00754"></a><span class="lineno">  754</span>} <span class="comment">// namespace sf</span></div>
<div class="line"><a id="l00755" name="l00755"></a><span class="lineno">  755</span> </div>
<div class="line"><a id="l00756" name="l00756"></a><span class="lineno">  756</span> </div>
<div class="line"><a id="l00757" name="l00757"></a><span class="lineno">  757</span><span class="preprocessor">#endif </span><span class="comment">// SFML_SHADER_HPP</span></div>
<div class="line"><a id="l00758" name="l00758"></a><span class="lineno">  758</span> </div>
<div class="line"><a id="l00759" name="l00759"></a><span class="lineno">  759</span> </div>
<div class="ttc" id="aclasssf_1_1Color_html"><div class="ttname"><a href="classsf_1_1Color.html">sf::Color</a></div><div class="ttdoc">Utility class for manipulating RGBA colors.</div><div class="ttdef"><b>Definition</b> <a href="Color_8hpp_source.html#l00040">Color.hpp:41</a></div></div>
<div class="ttc" id="aclasssf_1_1GlResource_html"><div class="ttname"><a href="classsf_1_1GlResource.html">sf::GlResource</a></div><div class="ttdoc">Base class for classes that require an OpenGL context.</div><div class="ttdef"><b>Definition</b> <a href="GlResource_8hpp_source.html#l00046">GlResource.hpp:47</a></div></div>
<div class="ttc" id="aclasssf_1_1InputStream_html"><div class="ttname"><a href="classsf_1_1InputStream.html">sf::InputStream</a></div><div class="ttdoc">Abstract class for custom file input streams.</div><div class="ttdef"><b>Definition</b> <a href="InputStream_8hpp_source.html#l00041">InputStream.hpp:42</a></div></div>
<div class="ttc" id="aclasssf_1_1NonCopyable_html"><div class="ttname"><a href="classsf_1_1NonCopyable.html">sf::NonCopyable</a></div><div class="ttdoc">Utility class that makes any derived class non-copyable.</div><div class="ttdef"><b>Definition</b> <a href="NonCopyable_8hpp_source.html#l00041">NonCopyable.hpp:42</a></div></div>
<div class="ttc" id="aclasssf_1_1Shader_html"><div class="ttname"><a href="classsf_1_1Shader.html">sf::Shader</a></div><div class="ttdoc">Shader class (vertex, geometry and fragment)</div><div class="ttdef"><b>Definition</b> <a href="Shader_8hpp_source.html#l00052">Shader.hpp:53</a></div></div>
<div class="ttc" id="aclasssf_1_1Shader_html_a053a5632848ebaca2fcd8ba29abe9e6e"><div class="ttname"><a href="classsf_1_1Shader.html#a053a5632848ebaca2fcd8ba29abe9e6e">sf::Shader::loadFromFile</a></div><div class="ttdeci">bool loadFromFile(const std::string &amp;filename, Type type)</div><div class="ttdoc">Load the vertex, geometry or fragment shader from a file.</div></div>
<div class="ttc" id="aclasssf_1_1Shader_html_a066b0ba02e1c1bddc9e2571eca1156ab"><div class="ttname"><a href="classsf_1_1Shader.html#a066b0ba02e1c1bddc9e2571eca1156ab">sf::Shader::setUniformArray</a></div><div class="ttdeci">void setUniformArray(const std::string &amp;name, const Glsl::Mat4 *matrixArray, std::size_t length)</div><div class="ttdoc">Specify values for mat4[] array uniform.</div></div>
<div class="ttc" id="aclasssf_1_1Shader_html_a09778f78afcbeb854d608c8dacd8ea30"><div class="ttname"><a href="classsf_1_1Shader.html#a09778f78afcbeb854d608c8dacd8ea30">sf::Shader::bind</a></div><div class="ttdeci">static void bind(const Shader *shader)</div><div class="ttdoc">Bind a shader for rendering.</div></div>
<div class="ttc" id="aclasssf_1_1Shader_html_a1d7f28f26b4122959fcafec871c2c3c5"><div class="ttname"><a href="classsf_1_1Shader.html#a1d7f28f26b4122959fcafec871c2c3c5">sf::Shader::Shader</a></div><div class="ttdeci">Shader()</div><div class="ttdoc">Default constructor.</div></div>
<div class="ttc" id="aclasssf_1_1Shader_html_a295d8468811ca15bf9c5401a7a7d4f54"><div class="ttname"><a href="classsf_1_1Shader.html#a295d8468811ca15bf9c5401a7a7d4f54">sf::Shader::loadFromFile</a></div><div class="ttdeci">bool loadFromFile(const std::string &amp;vertexShaderFilename, const std::string &amp;geometryShaderFilename, const std::string &amp;fragmentShaderFilename)</div><div class="ttdoc">Load the vertex, geometry and fragment shaders from files.</div></div>
<div class="ttc" id="aclasssf_1_1Shader_html_a2ccb5bae59cedc7d6a9b533c97f7d1ed"><div class="ttname"><a href="classsf_1_1Shader.html#a2ccb5bae59cedc7d6a9b533c97f7d1ed">sf::Shader::setUniform</a></div><div class="ttdeci">void setUniform(const std::string &amp;name, const Glsl::Ivec2 &amp;vector)</div><div class="ttdoc">Specify value for ivec2 uniform.</div></div>
<div class="ttc" id="aclasssf_1_1Shader_html_a2ee1b130c0606e4f8bcdf65c1efc2a53"><div class="ttname"><a href="classsf_1_1Shader.html#a2ee1b130c0606e4f8bcdf65c1efc2a53">sf::Shader::loadFromStream</a></div><div class="ttdeci">bool loadFromStream(InputStream &amp;stream, Type type)</div><div class="ttdoc">Load the vertex, geometry or fragment shader from a custom stream.</div></div>
<div class="ttc" id="aclasssf_1_1Shader_html_a380e7a5a2896162c5fd08966c4523790"><div class="ttname"><a href="classsf_1_1Shader.html#a380e7a5a2896162c5fd08966c4523790">sf::Shader::setUniform</a></div><div class="ttdeci">void setUniform(const std::string &amp;name, const Glsl::Ivec4 &amp;vector)</div><div class="ttdoc">Specify value for ivec4 uniform.</div></div>
<div class="ttc" id="aclasssf_1_1Shader_html_a3ac473ece2c6fa26dc5032c07fd7288e"><div class="ttname"><a href="classsf_1_1Shader.html#a3ac473ece2c6fa26dc5032c07fd7288e">sf::Shader::setParameter</a></div><div class="ttdeci">void setParameter(const std::string &amp;name, const Vector2f &amp;vector)</div><div class="ttdoc">Change a 2-components vector parameter of the shader.</div></div>
<div class="ttc" id="aclasssf_1_1Shader_html_a3b7958159ffb5596c4babc3052e35465"><div class="ttname"><a href="classsf_1_1Shader.html#a3b7958159ffb5596c4babc3052e35465">sf::Shader::loadFromStream</a></div><div class="ttdeci">bool loadFromStream(InputStream &amp;vertexShaderStream, InputStream &amp;fragmentShaderStream)</div><div class="ttdoc">Load both the vertex and fragment shaders from custom streams.</div></div>
<div class="ttc" id="aclasssf_1_1Shader_html_a45db14baf1bbc688577f81813b1fce96"><div class="ttname"><a href="classsf_1_1Shader.html#a45db14baf1bbc688577f81813b1fce96">sf::Shader::isGeometryAvailable</a></div><div class="ttdeci">static bool isGeometryAvailable()</div><div class="ttdoc">Tell whether or not the system supports geometry shaders.</div></div>
<div class="ttc" id="aclasssf_1_1Shader_html_a47e4dd78f0752ae08664b4ee616db1cf"><div class="ttname"><a href="classsf_1_1Shader.html#a47e4dd78f0752ae08664b4ee616db1cf">sf::Shader::setParameter</a></div><div class="ttdeci">void setParameter(const std::string &amp;name, float x)</div><div class="ttdoc">Change a float parameter of the shader.</div></div>
<div class="ttc" id="aclasssf_1_1Shader_html_a4a2c673c41e37b17d67e4af1298b679f"><div class="ttname"><a href="classsf_1_1Shader.html#a4a2c673c41e37b17d67e4af1298b679f">sf::Shader::setUniform</a></div><div class="ttdeci">void setUniform(const std::string &amp;name, const Glsl::Vec2 &amp;vector)</div><div class="ttdoc">Specify value for vec2 uniform.</div></div>
<div class="ttc" id="aclasssf_1_1Shader_html_a4bac6cc8b046ecd8fb967c145a2380e6"><div class="ttname"><a href="classsf_1_1Shader.html#a4bac6cc8b046ecd8fb967c145a2380e6">sf::Shader::~Shader</a></div><div class="ttdeci">~Shader()</div><div class="ttdoc">Destructor.</div></div>
<div class="ttc" id="aclasssf_1_1Shader_html_a69587701d347ba21d506197d0fb9f842"><div class="ttname"><a href="classsf_1_1Shader.html#a69587701d347ba21d506197d0fb9f842">sf::Shader::setUniformArray</a></div><div class="ttdeci">void setUniformArray(const std::string &amp;name, const Glsl::Mat3 *matrixArray, std::size_t length)</div><div class="ttdoc">Specify values for mat3[] array uniform.</div></div>
<div class="ttc" id="aclasssf_1_1Shader_html_a731d3b9953c50fe7d3fb03340b97deff"><div class="ttname"><a href="classsf_1_1Shader.html#a731d3b9953c50fe7d3fb03340b97deff">sf::Shader::setUniformArray</a></div><div class="ttdeci">void setUniformArray(const std::string &amp;name, const float *scalarArray, std::size_t length)</div><div class="ttdoc">Specify values for float[] array uniform.</div></div>
<div class="ttc" id="aclasssf_1_1Shader_html_a7806a29ffbd0ee9251256a9e7265d479"><div class="ttname"><a href="classsf_1_1Shader.html#a7806a29ffbd0ee9251256a9e7265d479">sf::Shader::setUniform</a></div><div class="ttdeci">void setUniform(const std::string &amp;name, const Texture &amp;texture)</div><div class="ttdoc">Specify a texture as sampler2D uniform.</div></div>
<div class="ttc" id="aclasssf_1_1Shader_html_a7e36e044d6b8adca8339f40c5a4b1801"><div class="ttname"><a href="classsf_1_1Shader.html#a7e36e044d6b8adca8339f40c5a4b1801">sf::Shader::setParameter</a></div><div class="ttdeci">void setParameter(const std::string &amp;name, float x, float y, float z)</div><div class="ttdoc">Change a 3-components vector parameter of the shader.</div></div>
<div class="ttc" id="aclasssf_1_1Shader_html_a7f58ab5c0a1084f238dfcec86602daa1"><div class="ttname"><a href="classsf_1_1Shader.html#a7f58ab5c0a1084f238dfcec86602daa1">sf::Shader::setParameter</a></div><div class="ttdeci">void setParameter(const std::string &amp;name, const Texture &amp;texture)</div><div class="ttdoc">Change a texture parameter of the shader.</div></div>
<div class="ttc" id="aclasssf_1_1Shader_html_a8599ee1348407025039b89ddf3f7cb62"><div class="ttname"><a href="classsf_1_1Shader.html#a8599ee1348407025039b89ddf3f7cb62">sf::Shader::setParameter</a></div><div class="ttdeci">void setParameter(const std::string &amp;name, const Transform &amp;transform)</div><div class="ttdoc">Change a matrix parameter of the shader.</div></div>
<div class="ttc" id="aclasssf_1_1Shader_html_a87d4a0c6dc70ae68aecc0dda3f343c07"><div class="ttname"><a href="classsf_1_1Shader.html#a87d4a0c6dc70ae68aecc0dda3f343c07">sf::Shader::setParameter</a></div><div class="ttdeci">void setParameter(const std::string &amp;name, const Vector3f &amp;vector)</div><div class="ttdoc">Change a 3-components vector parameter of the shader.</div></div>
<div class="ttc" id="aclasssf_1_1Shader_html_a9e328e3e97cd753fdc7b842f4b0f202e"><div class="ttname"><a href="classsf_1_1Shader.html#a9e328e3e97cd753fdc7b842f4b0f202e">sf::Shader::setUniform</a></div><div class="ttdeci">void setUniform(const std::string &amp;name, const Glsl::Ivec3 &amp;vector)</div><div class="ttdoc">Specify value for ivec3 uniform.</div></div>
<div class="ttc" id="aclasssf_1_1Shader_html_aa08f1c091806205e6654db9d83197fcd"><div class="ttname"><a href="classsf_1_1Shader.html#aa08f1c091806205e6654db9d83197fcd">sf::Shader::loadFromStream</a></div><div class="ttdeci">bool loadFromStream(InputStream &amp;vertexShaderStream, InputStream &amp;geometryShaderStream, InputStream &amp;fragmentShaderStream)</div><div class="ttdoc">Load the vertex, geometry and fragment shaders from custom streams.</div></div>
<div class="ttc" id="aclasssf_1_1Shader_html_aa8618119ed4399df3fd33e78ee96b4fc"><div class="ttname"><a href="classsf_1_1Shader.html#aa8618119ed4399df3fd33e78ee96b4fc">sf::Shader::setParameter</a></div><div class="ttdeci">void setParameter(const std::string &amp;name, const Color &amp;color)</div><div class="ttdoc">Change a color parameter of the shader.</div></div>
<div class="ttc" id="aclasssf_1_1Shader_html_aa89ac1ea7918c9b1c2232df59affb7fa"><div class="ttname"><a href="classsf_1_1Shader.html#aa89ac1ea7918c9b1c2232df59affb7fa">sf::Shader::setUniformArray</a></div><div class="ttdeci">void setUniformArray(const std::string &amp;name, const Glsl::Vec4 *vectorArray, std::size_t length)</div><div class="ttdoc">Specify values for vec4[] array uniform.</div></div>
<div class="ttc" id="aclasssf_1_1Shader_html_aad654ad8de6f0c56191fa7b8cea21db2"><div class="ttname"><a href="classsf_1_1Shader.html#aad654ad8de6f0c56191fa7b8cea21db2">sf::Shader::setUniform</a></div><div class="ttdeci">void setUniform(const std::string &amp;name, const Glsl::Vec3 &amp;vector)</div><div class="ttdoc">Specify value for vec3 uniform.</div></div>
<div class="ttc" id="aclasssf_1_1Shader_html_ab06830875c82476fbb9c975cdeb78a11"><div class="ttname"><a href="classsf_1_1Shader.html#ab06830875c82476fbb9c975cdeb78a11">sf::Shader::setUniform</a></div><div class="ttdeci">void setUniform(const std::string &amp;name, const Glsl::Bvec3 &amp;vector)</div><div class="ttdoc">Specify value for bvec3 uniform.</div></div>
<div class="ttc" id="aclasssf_1_1Shader_html_ab18f531e1f726b88fec1cf5a1e6af26d"><div class="ttname"><a href="classsf_1_1Shader.html#ab18f531e1f726b88fec1cf5a1e6af26d">sf::Shader::setUniform</a></div><div class="ttdeci">void setUniform(const std::string &amp;name, CurrentTextureType)</div><div class="ttdoc">Specify current texture as sampler2D uniform.</div></div>
<div class="ttc" id="aclasssf_1_1Shader_html_ab2518b8dd0762e682b452a5d5005f2bf"><div class="ttname"><a href="classsf_1_1Shader.html#ab2518b8dd0762e682b452a5d5005f2bf">sf::Shader::setUniform</a></div><div class="ttdeci">void setUniform(const std::string &amp;name, const Glsl::Bvec2 &amp;vector)</div><div class="ttdoc">Specify value for bvec2 uniform.</div></div>
<div class="ttc" id="aclasssf_1_1Shader_html_ab2e2eab45d9a091f3720c0879a5bb026"><div class="ttname"><a href="classsf_1_1Shader.html#ab2e2eab45d9a091f3720c0879a5bb026">sf::Shader::setUniformArray</a></div><div class="ttdeci">void setUniformArray(const std::string &amp;name, const Glsl::Vec2 *vectorArray, std::size_t length)</div><div class="ttdoc">Specify values for vec2[] array uniform.</div></div>
<div class="ttc" id="aclasssf_1_1Shader_html_ab8c8b715b02aba2cf7c0a0e0c0984250"><div class="ttname"><a href="classsf_1_1Shader.html#ab8c8b715b02aba2cf7c0a0e0c0984250">sf::Shader::loadFromMemory</a></div><div class="ttdeci">bool loadFromMemory(const std::string &amp;vertexShader, const std::string &amp;geometryShader, const std::string &amp;fragmentShader)</div><div class="ttdoc">Load the vertex, geometry and fragment shaders from source codes in memory.</div></div>
<div class="ttc" id="aclasssf_1_1Shader_html_ab8d379f40810b8e3eadebee81aedd231"><div class="ttname"><a href="classsf_1_1Shader.html#ab8d379f40810b8e3eadebee81aedd231">sf::Shader::setParameter</a></div><div class="ttdeci">void setParameter(const std::string &amp;name, float x, float y)</div><div class="ttdoc">Change a 2-components vector parameter of the shader.</div></div>
<div class="ttc" id="aclasssf_1_1Shader_html_abc1aee8343800680fd62e1f3d43c24bf"><div class="ttname"><a href="classsf_1_1Shader.html#abc1aee8343800680fd62e1f3d43c24bf">sf::Shader::setUniform</a></div><div class="ttdeci">void setUniform(const std::string &amp;name, const Glsl::Vec4 &amp;vector)</div><div class="ttdoc">Specify value for vec4 uniform.</div></div>
<div class="ttc" id="aclasssf_1_1Shader_html_abf78e3bea1e9b0bab850b6b0a0de29c7"><div class="ttname"><a href="classsf_1_1Shader.html#abf78e3bea1e9b0bab850b6b0a0de29c7">sf::Shader::setUniform</a></div><div class="ttdeci">void setUniform(const std::string &amp;name, float x)</div><div class="ttdoc">Specify value for float uniform.</div></div>
<div class="ttc" id="aclasssf_1_1Shader_html_ac1198ae0152d439bc05781046883e281"><div class="ttname"><a href="classsf_1_1Shader.html#ac1198ae0152d439bc05781046883e281">sf::Shader::setUniform</a></div><div class="ttdeci">void setUniform(const std::string &amp;name, const Glsl::Mat3 &amp;matrix)</div><div class="ttdoc">Specify value for mat3 matrix.</div></div>
<div class="ttc" id="aclasssf_1_1Shader_html_ac14d0bf7afe7b6bb415d309f9c707188"><div class="ttname"><a href="classsf_1_1Shader.html#ac14d0bf7afe7b6bb415d309f9c707188">sf::Shader::getNativeHandle</a></div><div class="ttdeci">unsigned int getNativeHandle() const</div><div class="ttdoc">Get the underlying OpenGL handle of the shader.</div></div>
<div class="ttc" id="aclasssf_1_1Shader_html_ac84c7953eec2e19358ea6e2cc5385b8d"><div class="ttname"><a href="classsf_1_1Shader.html#ac84c7953eec2e19358ea6e2cc5385b8d">sf::Shader::CurrentTexture</a></div><div class="ttdeci">static CurrentTextureType CurrentTexture</div><div class="ttdoc">Represents the texture of the object being drawn.</div><div class="ttdef"><b>Definition</b> <a href="Shader_8hpp_source.html#l00082">Shader.hpp:82</a></div></div>
<div class="ttc" id="aclasssf_1_1Shader_html_ac8db3e0adf1129abf24f0a51a7ec36f4"><div class="ttname"><a href="classsf_1_1Shader.html#ac8db3e0adf1129abf24f0a51a7ec36f4">sf::Shader::setUniform</a></div><div class="ttdeci">void setUniform(const std::string &amp;name, const Glsl::Bvec4 &amp;vector)</div><div class="ttdoc">Specify value for bvec4 uniform.</div></div>
<div class="ttc" id="aclasssf_1_1Shader_html_ac92d46bf71dff2d791117e4e472148aa"><div class="ttname"><a href="classsf_1_1Shader.html#ac92d46bf71dff2d791117e4e472148aa">sf::Shader::loadFromMemory</a></div><div class="ttdeci">bool loadFromMemory(const std::string &amp;shader, Type type)</div><div class="ttdoc">Load the vertex, geometry or fragment shader from a source code in memory.</div></div>
<div class="ttc" id="aclasssf_1_1Shader_html_ac9d7289966fcef562eeb92271c03e3dc"><div class="ttname"><a href="classsf_1_1Shader.html#ac9d7289966fcef562eeb92271c03e3dc">sf::Shader::loadFromFile</a></div><div class="ttdeci">bool loadFromFile(const std::string &amp;vertexShaderFilename, const std::string &amp;fragmentShaderFilename)</div><div class="ttdoc">Load both the vertex and fragment shaders from files.</div></div>
<div class="ttc" id="aclasssf_1_1Shader_html_aca5c55c4a3b23d21e33dbdaab7990755"><div class="ttname"><a href="classsf_1_1Shader.html#aca5c55c4a3b23d21e33dbdaab7990755">sf::Shader::setUniform</a></div><div class="ttdeci">void setUniform(const std::string &amp;name, const Glsl::Mat4 &amp;matrix)</div><div class="ttdoc">Specify value for mat4 matrix.</div></div>
<div class="ttc" id="aclasssf_1_1Shader_html_ad22474690bafe4a305c1b9826b1bd86a"><div class="ttname"><a href="classsf_1_1Shader.html#ad22474690bafe4a305c1b9826b1bd86a">sf::Shader::isAvailable</a></div><div class="ttdeci">static bool isAvailable()</div><div class="ttdoc">Tell whether or not the system supports shaders.</div></div>
<div class="ttc" id="aclasssf_1_1Shader_html_ae34e94070d7547a890166b7993658a9b"><div class="ttname"><a href="classsf_1_1Shader.html#ae34e94070d7547a890166b7993658a9b">sf::Shader::loadFromMemory</a></div><div class="ttdeci">bool loadFromMemory(const std::string &amp;vertexShader, const std::string &amp;fragmentShader)</div><div class="ttdoc">Load both the vertex and fragment shaders from source codes in memory.</div></div>
<div class="ttc" id="aclasssf_1_1Shader_html_ae4fc8b4c18e6b653952bce5c8c81e4a0"><div class="ttname"><a href="classsf_1_1Shader.html#ae4fc8b4c18e6b653952bce5c8c81e4a0">sf::Shader::setUniform</a></div><div class="ttdeci">void setUniform(const std::string &amp;name, int x)</div><div class="ttdoc">Specify value for int uniform.</div></div>
<div class="ttc" id="aclasssf_1_1Shader_html_aeae884292fed977bbea5039818f208e7"><div class="ttname"><a href="classsf_1_1Shader.html#aeae884292fed977bbea5039818f208e7">sf::Shader::setUniformArray</a></div><div class="ttdeci">void setUniformArray(const std::string &amp;name, const Glsl::Vec3 *vectorArray, std::size_t length)</div><div class="ttdoc">Specify values for vec3[] array uniform.</div></div>
<div class="ttc" id="aclasssf_1_1Shader_html_aeb468f1bc2d26750b96b74f1e19027fb"><div class="ttname"><a href="classsf_1_1Shader.html#aeb468f1bc2d26750b96b74f1e19027fb">sf::Shader::setParameter</a></div><div class="ttdeci">void setParameter(const std::string &amp;name, float x, float y, float z, float w)</div><div class="ttdoc">Change a 4-components vector parameter of the shader.</div></div>
<div class="ttc" id="aclasssf_1_1Shader_html_af06b4cba0bab915fa01032b063909044"><div class="ttname"><a href="classsf_1_1Shader.html#af06b4cba0bab915fa01032b063909044">sf::Shader::setParameter</a></div><div class="ttdeci">void setParameter(const std::string &amp;name, CurrentTextureType)</div><div class="ttdoc">Change a texture parameter of the shader.</div></div>
<div class="ttc" id="aclasssf_1_1Shader_html_af417027ac72c06e6cfbf30975cd678e9"><div class="ttname"><a href="classsf_1_1Shader.html#af417027ac72c06e6cfbf30975cd678e9">sf::Shader::setUniform</a></div><div class="ttdeci">void setUniform(const std::string &amp;name, bool x)</div><div class="ttdoc">Specify value for bool uniform.</div></div>
<div class="ttc" id="aclasssf_1_1Shader_html_afaa1aa65e5de37b74d047da9def9f9b3"><div class="ttname"><a href="classsf_1_1Shader.html#afaa1aa65e5de37b74d047da9def9f9b3">sf::Shader::Type</a></div><div class="ttdeci">Type</div><div class="ttdoc">Types of shaders.</div><div class="ttdef"><b>Definition</b> <a href="Shader_8hpp_source.html#l00060">Shader.hpp:61</a></div></div>
<div class="ttc" id="aclasssf_1_1Shader_html_afaa1aa65e5de37b74d047da9def9f9b3a812421100fd57456727375938fb62788"><div class="ttname"><a href="classsf_1_1Shader.html#afaa1aa65e5de37b74d047da9def9f9b3a812421100fd57456727375938fb62788">sf::Shader::Geometry</a></div><div class="ttdeci">@ Geometry</div><div class="ttdoc">Geometry shader.</div><div class="ttdef"><b>Definition</b> <a href="Shader_8hpp_source.html#l00063">Shader.hpp:63</a></div></div>
<div class="ttc" id="aclasssf_1_1Shader_html_afaa1aa65e5de37b74d047da9def9f9b3a8718008f827eb32e29bbdd1791c62dce"><div class="ttname"><a href="classsf_1_1Shader.html#afaa1aa65e5de37b74d047da9def9f9b3a8718008f827eb32e29bbdd1791c62dce">sf::Shader::Vertex</a></div><div class="ttdeci">@ Vertex</div><div class="ttdoc">Vertex shader</div><div class="ttdef"><b>Definition</b> <a href="Shader_8hpp_source.html#l00062">Shader.hpp:62</a></div></div>
<div class="ttc" id="aclasssf_1_1Texture_html"><div class="ttname"><a href="classsf_1_1Texture.html">sf::Texture</a></div><div class="ttdoc">Image living on the graphics card that can be used for drawing.</div><div class="ttdef"><b>Definition</b> <a href="Texture_8hpp_source.html#l00048">Texture.hpp:49</a></div></div>
<div class="ttc" id="aclasssf_1_1Transform_html"><div class="ttname"><a href="classsf_1_1Transform.html">sf::Transform</a></div><div class="ttdoc">Define a 3x3 transform matrix.</div><div class="ttdef"><b>Definition</b> <a href="Transform_8hpp_source.html#l00042">Transform.hpp:43</a></div></div>
<div class="ttc" id="aclasssf_1_1Vector2_html"><div class="ttname"><a href="classsf_1_1Vector2.html">sf::Vector2&lt; float &gt;</a></div></div>
<div class="ttc" id="aclasssf_1_1Vector3_html"><div class="ttname"><a href="classsf_1_1Vector3.html">sf::Vector3</a></div><div class="ttdoc">Utility template class for manipulating 3-dimensional vectors.</div><div class="ttdef"><b>Definition</b> <a href="Vector3_8hpp_source.html#l00037">Vector3.hpp:38</a></div></div>
<div class="ttc" id="anamespacesf_1_1Glsl_html_a769de806596348a8e56ed6506c688271"><div class="ttname"><a href="namespacesf_1_1Glsl.html#a769de806596348a8e56ed6506c688271">sf::Glsl::Mat4</a></div><div class="ttdeci">implementation defined Mat4</div><div class="ttdoc">4x4 float matrix (mat4 in GLSL)</div><div class="ttdef"><b>Definition</b> <a href="Glsl_8hpp_source.html#l00181">Glsl.hpp:181</a></div></div>
<div class="ttc" id="anamespacesf_1_1Glsl_html_a778682c4f085d2daeb90c724791f3f68"><div class="ttname"><a href="namespacesf_1_1Glsl.html#a778682c4f085d2daeb90c724791f3f68">sf::Glsl::Ivec4</a></div><div class="ttdeci">implementation defined Ivec4</div><div class="ttdoc">4D int vector (ivec4 in GLSL)</div><div class="ttdef"><b>Definition</b> <a href="Glsl_8hpp_source.html#l00124">Glsl.hpp:124</a></div></div>
<div class="ttc" id="anamespacesf_1_1Glsl_html_a7c67253548c58adb77cb14f847f18f83"><div class="ttname"><a href="namespacesf_1_1Glsl.html#a7c67253548c58adb77cb14f847f18f83">sf::Glsl::Vec4</a></div><div class="ttdeci">implementation defined Vec4</div><div class="ttdoc">4D float vector (vec4 in GLSL)</div><div class="ttdef"><b>Definition</b> <a href="Glsl_8hpp_source.html#l00110">Glsl.hpp:110</a></div></div>
<div class="ttc" id="anamespacesf_1_1Glsl_html_a8b1f0ac369666c48a9eafc9d3f5618e6"><div class="ttname"><a href="namespacesf_1_1Glsl.html#a8b1f0ac369666c48a9eafc9d3f5618e6">sf::Glsl::Bvec4</a></div><div class="ttdeci">implementation defined Bvec4</div><div class="ttdoc">4D bool vector (bvec4 in GLSL)</div><div class="ttdef"><b>Definition</b> <a href="Glsl_8hpp_source.html#l00130">Glsl.hpp:130</a></div></div>
<div class="ttc" id="anamespacesf_1_1Glsl_html_a9e984ebdc1cebc693a12f01a32b2d28d"><div class="ttname"><a href="namespacesf_1_1Glsl.html#a9e984ebdc1cebc693a12f01a32b2d28d">sf::Glsl::Mat3</a></div><div class="ttdeci">implementation defined Mat3</div><div class="ttdoc">3x3 float matrix (mat3 in GLSL)</div><div class="ttdef"><b>Definition</b> <a href="Glsl_8hpp_source.html#l00155">Glsl.hpp:155</a></div></div>
<div class="ttc" id="astructsf_1_1Shader_1_1CurrentTextureType_html"><div class="ttname"><a href="structsf_1_1Shader_1_1CurrentTextureType.html">sf::Shader::CurrentTextureType</a></div><div class="ttdoc">Special type that can be passed to setUniform(), and that represents the texture of the object being ...</div><div class="ttdef"><b>Definition</b> <a href="Shader_8hpp_source.html#l00074">Shader.hpp:74</a></div></div>
</div><!-- fragment --></div><!-- contents -->
        </div>
        <div id="footer-container">
            <div id="footer">
                SFML is licensed under the terms and conditions of the <a href="https://www.sfml-dev.org/license.php">zlib/png license</a>.<br>
                Copyright &copy; Laurent Gomila &nbsp;::&nbsp;
                Documentation generated by <a href="http://www.doxygen.org/" title="doxygen website">doxygen</a> &nbsp;::&nbsp;
            </div>
        </div>
    </body>
</html>
